<template>
	<view class="content">
		<w-btn :label="$store.state.label" @onClick="$store.dispatch('onClick')"></w-btn>
	</view>
</template>

<script>
  export default{
    created() {
      console.log(this.$store)
    }
  }
</script>

<style scoped>
  .content{
    width: 750rpx;
    height: 100%;
    display: flex;
  }
</style>
